A/D converter calibration test sequence insertion

ABSTRACT

An A/D converter stage including an A/D sub-converter connected to a D/A sub-converter ( 12 ) is calibrated by a method that inserts a calibration test sequence into the D/A sub-converter. This is accomplished by forcing (SW) the comparators (COMP 1 -COMP 7 ) of the A/D sub-converter to generate and insert the sequence into the D/A sub-converter.

This application is the U.S. National phase of international application PCT/SEO2/00220 filed 8 Feb. 2002 which designates the U.S.

TECHNICAL FIELD

This invention relates to analog-to-digital converters (A/D converters), and in particular how to insert calibration test sequences in pipeline, sub-ranging and cyclic A/D converters.

BACKGROUND

The maximum achievable accuracy-speed performance of any A/D converter is limited by non-ideal effects associated with its building blocks. Typically, the performance is limited by settling time, finite amplifier gain, and/or component mismatch. When designing high-speed, high-accuracy A/D converters, these limitations impose stringent demands on building blocks, leading to prolonged design time and lower yield.

Many non-ideal effects can be compensated for by using calibration, which relaxes the demands on the building blocks while increasing the overall performance. The trend today is to employ calibration which operates on the digital output of the A/D converter, since digital signal processing is robust and can be implemented at a low cost due to the scaling of modern CMOS processes. However, the difficulty is often how to accurately acquire calibration coefficients to be used in the calibration algorithm that makes up for the non-ideal effects of the analog components.

A popular and efficient method to determine the calibration coefficients for pipeline, sub-ranging and cyclic A/D converters employs switching of the internal digital-to-analog converter (D/A converter) elements of the stages to be calibrated by specific calibration test sequences to be able to characterize the critical components and extract calibration coefficients, see [1].

To acquire calibration coefficients, the normal digital thermometer code from an A/D sub-converter to the corresponding D/A sub-converters is replaced by the calibration test sequence. By this arrangement, each D/A sub-converter element can be controlled by the calibration circuitry and the response and weight of each D/A sub-converter element can measured by the resolution and accuracy of the succeeding stages. Once the errors from finite gain amplifiers and the D/A sub-converter element mismatches have been captured, they can be removed from the digital output. The calibration procedure usually starts at a certain stage in the pipeline chain and moves forward to the first stage. Thereby the accuracy of the measuring device is increasing as the calibration process proceeds. Ideally, there is no limitation in the achievable accuracy for a pipeline A/D converter with an infinite number of pipeline stages. However, noise, drift, and non-linear behavior will restrict the achievable accuracy in physical implementations. The starting stage of the calibration process is typically the stage where the non-ideal errors become in parity with the quantization error of the later stages used for the measurements. Since the switching of the D/A converter elements is performed at normal clock rate, the internal dynamic behavior is also monitored and errors from imperfect settling are suppressed as well. A similar calibration procedure is used for cyclic converters, but here the data circulates so that the stage that is calibrated is also used for the measurements.

A problem with the described method is that extra logic is required on the time critical thermometer code bus. This results in an extra signal delay, which has a negative impact on the maximal achievable sample rate.

SUMMARY

An object of the present invention is to provide A/D converter calibration based on calibration test sequences, but without this extra signal delay.

This object is achieved in accordance with the attached claims.

Briefly, the present invention inserts the calibration test sequences outside of the thermometer code bus by forcing the comparators of the A/D sub-converter of a stage to produce and insert the calibration test sequence into the D/A sub-converter of the same stage. This eliminates the extra delay on the thermometer code bus, thereby increasing the attainable sample rate.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:

FIG. 1 is a block diagram of a typical pipeline A/D converter;

FIG. 2 is a block diagram of a typical stage of the A/D converter in FIG. 1 during the calibration phase;

FIG. 3 is a diagram illustrating timing of essential control signals in the A/D converter stage in FIG. 2;

FIG. 4 is a block diagram of an exemplary embodiment of an A/D converter stage in accordance with the present invention during the calibration phase;

FIG. 5 is a diagram illustrating timing of essential control signals in the A/D converter stage in FIG. 4;

FIG. 6 is a block diagram of another exemplary embodiment of an A/D converter stage in accordance with the present invention during the calibration phase;

FIG. 7 illustrates an exemplary embodiment of a single-ended comparator input stage;

FIG. 8 is a timing diagram for the comparator input stage in FIG. 7;

FIG. 9 illustrates the switch configuration of the comparator input stage of FIG. 7 during a first phase;

FIG. 10 illustrates the switch configuration of the comparator input stage of FIG. 7 during a second phase;

FIG. 11 illustrates the switch configuration of the comparator input stage of FIG. 7 during a third phase;

FIG. 12 illustrates the switch configuration of the comparator input stage of FIG. 7 during a fourth phase;

FIG. 13 illustrates an exemplary embodiment of a differential comparator input stage;

FIG. 14 illustrates another exemplary embodiment of a differential comparator input stage;

FIG. 15 illustrates another exemplary embodiment of a single-ended comparator input stage;

FIG. 16 is a possible timing diagram for the comparator input stage in FIG. 15;

FIG. 17 is another possible timing diagram for the comparator input stage in FIG. 15;

FIG. 18 is a further possible timing diagram for the comparator input stage in FIG. 15;

FIG. 19 illustrates an exemplary embodiment of a differential comparator input stage corresponding to the embodiment in FIG. 15;

FIG. 20 illustrates an exemplary embodiment of a single-ended switched capacitor implementation of a set of comparator input stages;

FIG. 21 illustrates an exemplary embodiment of a differential comparator input stage corresponding to the embodiment in FIG. 20;

FIG. 22 illustrates another exemplary embodiment of a comparator input stage; and

FIG. 23 is a flow chart illustrating the method of the present invention.

DETAILED DESCRIPTION

In the following description the same reference designations will be used for the same or similar elements.

The description below will describe the present invention with reference to a pipeline A/D converter. However, it is appreciated that the same principles may also be used for other multi-stage A/D converters, such as cyclic or sub-ranging A/D converters.

FIG. 1 is a block diagram of a typical pipeline A/D converter. An N-bit analog-to-digital conversion is performed in two or more stages, each stage extracting {N₁, N₂ . . . N_(K)} bits of information represented by the digital words {d₁, d₂ . . . d_(K)}, where K is the number of pipeline stages. The first pipeline stage extracts the N₁ most significant bits using an N₁-bit A/D sub-converter 10. Then the estimated value is subtracted from the analog input signal V_(in) by using a D/A sub-converter 12 and an adder 14, leaving a residue containing the information necessary to extract less significant bits. Usually the residue is amplified by an amplifier 16 having a gain G₁ to establish the appropriate signal range for stage 2. These steps are repeated for all K stages, with the exception of the last pipeline stage, which does not need to produce an analog output and therefore has no D/A converter, adder or amplifier, but only an A/D converter 10. The digital words {d₁, d₂ . . . d_(K)} are then combined to form the digital output word d_(out) in a unit 18 for time alignment and digital correction of A/D sub-converter data.

In order to simplify the following description, it is assumed that an A/D converter stage has a resolution of 3 bits. This number is sufficiently small to be manageable, but is also large enough to illustrate the essential features of a typical case.

FIG. 2 is a block diagram of a typical stage of the A/D converter in FIG. 1 during the calibration phase. A/D sub-converter 10 includes a number of comparators COMP1–COMP7. One input terminal of each comparator is connected to a corresponding reference voltage. These reference voltages are formed by a ladder of resistors R1–R8. During normal A/D conversion the other input terminal of each comparator receives the analog input signal (the same signal to each comparator). The output signals from the comparator collectively form the digitized value in thermometer code. These signals are forwarded to D/A sub-converter 12 over a thermometer code bus, where they are transformed into a corresponding analog value. This value is subtracted from the original analog value (which has been stored in a sample-and-hold circuit 20) in adder 14, and the residual signal is amplified by a gain equal to 4 in gain element 16.

During calibration, an analog signal having a predefined value, for example 0, is forwarded to sample-and-hold circuit 20. However, the corresponding digitized value is not forwarded to D/A sub-converter 12. Instead a set of switches SW disconnect D/A sub-converter 12 from the thermometer code bus and connect it to a sample of the calibration test sequence. This sequence is generated by a calibration test sequence generator CTS. The samples of the calibration test sequence are selected in such a way that different combinations of D/A sub-converter inputs are activated. The resulting analog residual signals are digitized by the remaining stages of the pipeline, and the resulting digital values are used to determine digital calibration coefficients in accordance with well known methods. The calibration sequence may be generated all at once, for example at start-up of the A/D converter, or sample by sample at selected instances where the normal operation of the A/D converter is interrupted.

FIG. 3 is a diagram illustrating the timing of control signals Φ_(s) and Φ_(h) that control A/D sub-converter 10 and D/A sub-converter 12, respectively, in the A/D converter stage in FIG. 2. The A/D sub-converter decision phase starts when control signal Φ_(s) goes down. However, D/A conversion in D/A converter 12 can not start at the same time, due to the delays T_(comp) and T_(sw) introduced by the comparators of A/D sub-converter 10 and switches SW, respectively. Furthermore, there is a safety margin T_(m) to ensure repetitive settling of the succeeding D/A sub-converter independently of the comparator delays, which are not precisely known. Thus, the total delay before D/A conversion starts by Φ_(h) going high is: T _(total delay) =T _(comp) +T _(sw) +T _(m)

However, the total delay should be as short as possible, since a shorter delay translates into a higher attainable sample rate. As an example, if T_(comp) is assumed to be 1 ns, T_(sw) and T_(m) typically are of the order of 0.4 ns.

FIG. 4 is a block diagram of an exemplary embodiment of an A/D converter stage in accordance with the present invention during the calibration phase. In this embodiment switches SW have been moved from the thermometer code bus to the “comparator threshold bus”. During calibration the reference voltages to comparators COMP1–COMP7 are replaced by a sample from the calibration test sequence, thereby forcing A/D sub-converter 10 to produce a calibration sample on the thermometer code bus (actually the sample to the comparator threshold bus is inverted, since it is forwarded to the reference inputs and not the signal inputs).

FIG. 5 is a diagram illustrating the timing of control signals Φ_(s) and Φ_(h) in the A/D converter stage in FIG. 4. Since switches SW have been removed from the thermometer code bus, the total delay on the bus will now be: T _(total delay) =T _(comp) +T _(m)

Since the comparators are still present in the converter, the conversion delay T_(comp) will still remain. Using the exemplary delay values above, there is a delay reduction of more than 20%. This reduction may be used to increase the attainable sample rate.

FIG. 6 is a block diagram of another exemplary embodiment of an A/D converter stage in accordance with the present invention during the calibration phase. This embodiment is similar to the embodiment of FIG. 4. However, in this case switches SW are connected to the “input signal bus” to A/D sub-converter 10 instead of the comparator threshold bus. This gives the same advantages as the embodiment of FIG. 4.

FIG. 7 illustrates an exemplary embodiment of the i:th comparator input side of an A/D converter stage in accordance with the present invention. It is a single-ended embodiment providing offset suppression by auto-zeroing. This embodiment is based on a comparator COMP_(i) and a capacitor C_(i) connected to the inverting terminal, and is controlled by a set of switches, as illustrated by the timing diagram in FIG. 8. In this and the following timing diagrams a high signal level corresponds to a closed (conducting) switch, while a low signal level corresponds to an open (non-conducting) switch.

FIG. 9 illustrates the switch configuration of the comparator input stage of FIG. 7 during a first phase T. During this phase the threshold voltage charges the capacitor. The negative feedback of the comparator establishes the voltage V_(bias) at the inverting comparator input, and the capacitor C_(i) is thus charged to the voltage THR_(i)−V_(bias).

FIG. 10 illustrates the switch configuration of the comparator input stage of FIG. 7 during a second phase A. During this phase the analog signal is forwarded to the capacitor and the feedback path is broken. This will add the difference between the threshold THR_(i) and the analog signal to the voltage V_(bias) at the inverting comparator input. The resulting voltage will be compared to the voltage V_(bias) at the other comparator input at instant A/D in FIG. 8.

This pattern with a threshold phase T and an analog signal phase A is repeated both during normal sampling and during insertion of calibration samples. The difference is that during calibration the threshold is replaced by an inverted calibration test sequence sample. The corresponding switch configurations for phase T and A are illustrated in FIG. 11-12.

FIG. 13 illustrates an exemplary embodiment of a differential comparator input stage. This embodiment corresponds to the single-ended embodiment in FIG. 7.

This circuit is efficient in suppressing common mode voltage differences between reference and input signal sources.

FIG. 14 illustrates another exemplary embodiment of a differential comparator input stage. In this case there is no auto-zeroing.

It is to be noted that the timing diagram in FIG. 8 may be used in the embodiments of FIGS. 13 and 14.

FIG. 15 illustrates another exemplary embodiment of a single-ended comparator input stage. In this embodiment the switch on the threshold input is replaced by a switch arrangement connected directly to the sampling capacitor. This arrangement has the advantage of avoiding an extra switch (and the corresponding resistance) on the threshold/calibration path to the capacitor. Furthermore, the switches can be made considerably smaller, which improves threshold settling.

FIG. 16-18 illustrate 3 possible timing diagrams for the embodiment illustrated in FIG. 15.

FIG. 16 illustrates one possible timing diagram. In this case the (inverted) CTS signal is inserted during the threshold input phase.

FIG. 17 is another possible timing diagram in which the CTS signal is inserted during the analog signal input phase.

FIG. 18 is a further possible timing diagram for the comparator input stage in FIG. 15. In this case the CTS signal is inserted during both phases. This timing scheme has the advantage of requiring only rather low voltage swings and that minimum size CTS switches can be used, since no large input or threshold levels have to be overridden.

FIG. 19 illustrates an exemplary embodiment of an auto-zeroing differential comparator input stage corresponding to the embodiment in FIG. 15. The same timing schemes as in FIG. 16-18 may be used for this embodiment. Furthermore, a similar embodiment without auto-zeroing may be obtained by modifying the capacitor arrangement around the comparator as in FIG. 14.

FIG. 20 illustrates an exemplary embodiment of a switched capacitor implementation of a set of comparator input stages. The figure illustrates a 3-bit single-ended A/D sub-converter. The sampling switches between the comparator inputs and outputs realize the auto-zeroing function as in some of the previously described embodiments. The threshold levels of the comparators are during normal operation determined by the ratio between the two capacitors at each comparator. These capacitors have the capacitances: C _(ia)=(8−i)·C C _(ib) =i·C i=1 . . . 7 where C is a common scale factor. At Φ_(h2) the “b” capacitors are switched to the positive reference voltage and the “a” capacitors are switched to the negative reference voltage. The reference voltages are then sampled at the end of Φ_(h1), and the total accumulated charge is preserved to the Φ_(s2) clock phase when all capacitors are switched to the analog signal. The threshold voltages now become available over the parallel connected capacitors by charge sharing, and the comparator decision can be made. If the CTS signals are to be inserted, the CTS control signal selects the corresponding CTS bits instead of the reference voltages at each comparator. If normal switching is maintained, the voltages of the CTS bits must supercede the reference voltage levels to safely override the analog signal input voltage range. The same switching scheme as in FIG. 8 may be used.

FIG. 21 illustrates an exemplary embodiment of a differential comparator input stage corresponding to the embodiment in FIG. 20. To avoid overloading of the figure with details, only a generic comparator input stage is illustrated.

It is also possible to modify the embodiments of FIGS. 20 and 21 to avoid the extra switch, as in the embodiments of FIGS. 15 and 19. Such modified embodiments may use the switching schemes of FIG. 16-18.

FIG. 22 illustrates another exemplary embodiment of a comparator input stage. This embodiment uses comparator circuits with an extra input for offset adjustment. This extra input can be used to apply the calibration test sequence while the input signal is set to zero. When Φ_(CTS) is low, the adjustment voltage is fed to the extra comparator input in order to nullify the comparator offset. During this phase the positive comparator input will be connected to the analog input signal and the negative comparator input will be connected to the threshold voltage THR_(i). During this phase the comparator operates normally. In the other phase, when Φ_(CTS) is high, both the positive and negative comparator inputs are connected to the threshold voltage, which leads to a zero input. At the same time the large swing CTS signal is applied to the comparator offset adjustment input, thereby overriding the internal offset and thus forcing the comparator output to adopt the CTS signal value. In this embodiment it must be ensured that the gain of the extra input to the output is sufficient to guarantee overriding of the entire offset signal range.

FIG. 23 is a flow chart that summarizes the method of the present invention. In step S1 the next sampling period is reached. Step S2 tests whether this is a normal sampling period or a calibration period. If it is a calibration period, step S3 generates a calibration test sequence sample in the A/D sub-converter for insertion into the D/A sub-converter. Otherwise normal sampling is performed in step S4. Finally the procedure returns to step S1.

It Will be understood by those skilled in the art that various modifications and changes may be made to the present invention without departure from the scope thereof, which is defined by the appended claims.

REFERENCE

-   [1] Song-Ung Kwak & Bang-Sup Song, “A 15-b, 5M sample/s Low-Spurious     CMOS ADC”, IEEE Journal of Solid-State Circuits, Vol. 32, No. 12,     December 1997. 

1. An A/D converter stage comprising: a D/A sub-converter; an A/D sub-converter comprising comparators and connected to the D/A sub-converter; and means for modifying comparator thresholds of the comparators of the A/D sub-converter for generating and inserting a calibration test sequence into the D/A sub-converter.
 2. An A/D converter stage comprising: a D/A sub-converter an A/D sub-converter comprising comparators and connected to the D/A sub-converter; and means for modifying comparator input signals to the comparators of the A/D sub-converter for generating and inserting a calibration test sequence into the D/A sub-converter.
 3. An A/D converter stage comprising: a D/A sub-converter; an A/D sub-converter comprising comparators and connected to the D/A sub-converter; and means for modifying comparator offset adjustments of the comparators of the A/D sub-converter for generating and inserting a calibration test sequence into the D/A sub-converter.
 4. An A/D converter comprising: an A/D sub-converter comprising plural comparators; a D/A sub-converter connected to output terminals of the plural comparators; a calibration test sequence generator for generating a calibration test sequence; a control switch configured to control application of the calibration test sequence to input terminals of the plural comparators whereby the D/A sub-converter produces a calibration sample, and wherein the control switch is configured to modify at least one of the following for generating said calibration test sequence: comparator thresholds; comparator input signals; and comparator offset adjustments. 